import axiosApi from './base'

export function queryAddressLink(data) {
  return axiosApi({
    url: `/authority/commonAddressInfo/queryAddressLink`,
    method: 'POST',
    data
  })
}
export function queryAddress(data) {
  return axiosApi({
    url: `/authority/commonAddressInfo/queryAddress`,
    method: 'POST',
    data
  })
}
export function getCommonDictByType(params) {
  return axiosApi({
    url: `/authority/common/getCommonDictByType`,
    method: 'GET',
    params
  })
}

export function getByDictType(params) {
  return axiosApi({
    url: `/ci/cockpit/dict/getByType`,
    method: 'GET',
    params
  })
}
// 获取更新时间
export function queryUpdateTime(data) {
  return axiosApi({
    url: `/ci/cockpit/queryUpdateTime`,
    method: 'POST',
    data
  })
}
